<extend name="layout:index"/>
<block name="style">
	<style>
		.lh {
			background-image: url("__PUBLIC__/img1/lh.gif");
			background-position: 55px 90px;
			background-repeat: no-repeat;
		}
		.hh {
		    background-image: url("__PUBLIC__/img1/lh.gif");
		    background-position: -5px 90px;
		    background-repeat: no-repeat;
		}

		.rh {
		    background-image: url("__PUBLIC__/img1/rh.gif");
		    background-position: -180px 90px;
		    background-repeat: no-repeat;
		}

		.hh2 {
		    background-image: url("__PUBLIC__/img1/ch1.gif");
		    background-position: center 90px;
		    background-repeat: no-repeat;
		}
		.Nods {
			font-size: 12px;
			height: 110px;
			text-align: center;
			vertical-align: top;
			width: 104px;
		}
		.Item{
			background-repeat: no-repeat;
			height:100px;
		}
	</style>
</block>

<block name="content">
	<body class="main">
		<div class="mainbody">
			<table class="searchBar" cellspacing="0" cellpadding="0" border="0" width="100%">
				<tbody>
					<tr>
						<td align="center">
							<form action="/admin/user/organization" method="post" name="theForm">
								跳转用户:<input name="user_name" type="text">
										<input value="跳转" type="submit">
							</form>
						</td>
					</tr>
				</tbody>
			</table>
		  	<table class="searchBar" cellspacing="0" cellpadding="0" border="0" width="100%">
			    <tbody>
			    	<tr>
			      		<td>
			      			<table style="margin-top:20px;" cellspacing="1" cellpadding="1" bgcolor="#c3d9ff" align="center" border="0" width="98%">
			          			<tbody>
			          				<tr>
			            				<td bgcolor="#ffffff">
			            					<div style=" width:980px; margin-top:20px; margin-left:5px; margin-right:5px; margin-bottom:20px;">
			                					<table class="Network" cellspacing="0" cellpadding="0" bordercolor="#666666" align="center" border="0">
													<tbody>
														<tr>
															<td class="Nods">&nbsp;</td>
															<td class="Nods">&nbsp;</td>
															<td class="Nods lh">&nbsp;</td>
															<td class="Nods hh">&nbsp;</td>
															<td class="Nods hh2" valign="top">
																<div class="Item" style="background-image:url(__PUBLIC__/img/n1.jpg);">
																	<table cellspacing="0" cellpadding="0" align="center" border="0" width="100%">
																    	<tbody>
																    		<tr>
																    			<if condition="$level1.user_name neq 001">
																		    	<td style="text-align:center;" height="8">
																		    		<a href="/admin/user/organization?user_name={$tree}"><img src="__PUBLIC__/img1/up.gif"></a>
																		    	</td>
																		    	<else/>
																		    	<td style="text-align:center;" height="8"></td>
																		    	</if>
																		    </tr>
																		    <tr>
																		     	<td style="text-align:center;" height="20">
																		     		<a href="/admin/user/organization?user_name={$level1.user_name}">{$level1.user_name}(<if condition="$level1.name eq true">{$level1.name}</if>${$level1.tree_num})
																		     		</a>
																		     	</td>
																		    </tr>
																		    <tr>
																		    	<td style="text-align:center;" height="20">{$level1.true_name}</td>
																		    </tr>
																		    <tr>
																		      	<td style="text-align:center;" height="20"><table cellspacing="0" cellpadding="0" align="center" border="0" width="85">
																		        <tbody>
																			        <tr>
																			          	<td align="right" width="40">${$level1.left_num}</td>
																			          	<td width="5">:</td>
																			          	<td align="left" width="40">${$level1.right_num}</td>
																			        </tr>
																		      	</tbody></table></td>
																		    </tr>
																		    <tr>
																		      	<td style="text-align:center;" height="20">
																			      	<table cellspacing="0" cellpadding="0" align="center" border="0" width="85">
																				        <tbody>
																					        <tr>
																						        <td align="right" width="40">${$level1.left_leave_amount}</td>
																						        <td width="5">:</td>
																						        <td align="left" width="40">${$level1.right_leave_amount}</td>
																					        </tr>
																				      	</tbody>
																				    </table>
																			    </td>
																		    </tr>
																		</tbody>
																	</table>
																</div>
															</td>
															<td class="Nods hh">&nbsp;</td>
															<td class="Nods rh">&nbsp;</td>
														</tr>
														<tr>
															<td class="Nods">&nbsp;</td>
															<td class="Nods lh">&nbsp;</td>
															<if condition="$l2 eq true">
															<td class="Nods hh2" valign="top">
																<div class="Item" style="background-image:url(__PUBLIC__/img/n2.jpg);">
															  		<table cellspacing="0" cellpadding="0" align="center" border="0" width="100%">
															      		<tbody>
															      			<tr>
															        			<td style="text-align:center;" height="8"></td>
															      			</tr>
															    			<tr>
															        			<td style="text-align:center;" height="20">
															        				<a href="/admin/user/organization?user_name={$l2.user_name}">{$l2.user_name}({$l2.name}${$l2.tree_num})</a>
															        			</td>
															       			</tr>
															      			<tr>
															        			<td style="text-align:center;" height="20">{$l2.true_name}</td>
															    			</tr>
															      			<tr>
															        			<td style="text-align:center;" height="20">
															        				<table cellspacing="0" cellpadding="0" align="center" border="0" width="85">
															        					<tbody>
																        					<tr>
																	        					<td align="right" width="40">${$l2.left_num}</td>
																	        					<td width="5">:</td>
																	        					<td align="left" width="40">${$l2.right_num}</td>
																        					</tr>
															        					</tbody>
															        				</table>
															        			</td>
															      			</tr>
																	      	<tr>
																	        	<td style="text-align:center;" height="20">
																	        		<table cellspacing="0" cellpadding="0" align="center" border="0" width="85">
																	        			<tbody>
																	        				<tr>
																						        <td align="right" width="40">${$l2.left_leave_amount}</td>
																						        <td width="5">:</td>
																						        <td align="left" width="40">${$l2.right_leave_amount}</td>
																					        </tr>
																				        </tbody>
																			        </table>
																	        	</td>
																	      	</tr>
																	  	</tbody>
																	</table>
																</div>
															</td>
															<else/>
															<td class="Nods hh2" valign="top">
																<div class="Item" style="background-image:url(__PUBLIC__/img/n3.jpg);">
															  		<table cellspacing="0" cellpadding="0" align="center" border="0" width="100%">
															      		<tbody>
															      			<tr>
															        			<td style="text-align:center;" height="20"><br><br>待注册</td>
															      			</tr>
															  			</tbody>
															  		</table>
																</div>
															</td>
															</if>
															<td class="Nods rh">&nbsp;</td>
															<td class="Nods">&nbsp;</td>
															<td class="Nods lh">&nbsp;</td>
															<if condition="$r2 eq true">
															<td class="Nods hh2" valign="top">
															
																<div class="Item" style="background-image:url(__PUBLIC__/img/n2.jpg);">
															  		<table cellspacing="0" cellpadding="0" align="center" border="0" width="100%">
															      		<tbody>
															      			<tr>
															        			<td style="text-align:center;" height="8"></td>
															      			</tr>
															      			<tr>
																        		<td style="text-align:center;" height="20">
																        			<a href="/admin/user/organization?user_name={$r2.user_name}">{$r2.user_name}({$r2.name}${$r2.tree_num})</a>
																        		</td>
															       			</tr>
															      			<tr>
															        			<td style="text-align:center;" height="20">{$r2.true_name}</td>
															      			</tr>
															      			<tr>
																        		<td style="text-align:center;" height="20">
																        			<table cellspacing="0" cellpadding="0" align="center" border="0" width="85">
																        				<tbody>
																        					<tr>
																        						<td align="right" width="40">${$r2.left_num}</td>
																        						<td width="5">:</td>
																        						<td align="left" width="40">${$r2.right_num}
																        						</td>
																        					</tr>
																        				</tbody>
																        			</table>
																        		</td>
															      			</tr>
															      			<tr>
																        		<td style="text-align:center;" height="20">
																        			<table cellspacing="0" cellpadding="0" align="center" border="0" width="85">
																        				<tbody>
																        					<tr>
																        						<td align="right" width="40">${$r2.left_leave_amount}</td>
																        						<td width="5">:</td>
																        						<td align="left" width="40">${$r2.right_leave_amount}</td>
																        					</tr>
																        				</tbody>
																        			</table>
																        		</td>
															      			</tr>
															  			</tbody>
															  		</table>
																</div>
															</td>
															<elseif condition="$l2 eq false"/>
															<td class="Nods hh2" valign="top">
																<div class="Item" style="background-image:url(__PUBLIC__/img/n3.jpg);">
															  		<table cellspacing="0" cellpadding="0" align="center" border="0" width="100%">
															      		<tbody>
															      			<tr>
															        			<td style="text-align:center;" height="8"><br><br><font color="#c2c2c2">未激活<font></font></font></td>
															      			</tr>
															  			</tbody>
															  		</table>
																</div>
															</td>
															<else/>
															<td class="Nods hh2" valign="top">
																<div class="Item" style="background-image:url(__PUBLIC__/img/n3.jpg);">
															  		<table cellspacing="0" cellpadding="0" align="center" border="0" width="100%">
															      		<tbody>
															      			<tr>
															        			<td style="text-align:center;" height="20"><br><br>待注册</td>
															      			</tr>
															  			</tbody>
															  		</table>
																</div>
															</td>
															</if>
															<td class="Nods rh">&nbsp;</td>															
														</tr>
														<tr>
															<td class="Nods " valign="top">
															</td>
															<if condition="$l21 eq true">
															<td class="Nods " valign="top">
																<div class="Item" style="background-image:url(__PUBLIC__/img/n3.jpg);">
															  		<table cellspacing="0" cellpadding="0" align="center" border="0" width="100%">
															      		<tbody>
															      			<tr>
																		        <td style="text-align:center;" height="8"></td>
																		      	</tr>
																		      	<tr>
																			        <td style="text-align:center;" height="20">
																			        	<a href="/admin/user/organization?user_name={$l21.user_name}">{$l21.user_name}({$l21.name} ${$l21.tree_num})</a>
																			        </td>
																		       	</tr>
																		      	<tr>
																		        	<td style="text-align:center;" height="20">{$l21.true_name}</td>
																		      	</tr>
																		      	<tr>
																		        	<td style="text-align:center;" height="20">
																		        		<table cellspacing="0" cellpadding="0" align="center" border="0" width="85">
																		        			<tbody>
																		        				<tr>
																		        					<td align="right" width="40">${$l21.left_num}</td>
																		        					<td width="5">:</td>
																		        					<td align="left" width="40">${$l21.right_num}</td>
																		        				</tr>
																		        			</tbody>
																		        		</table>
																		        	</td>
																		      	</tr>
																		      	<tr>
																		        <td style="text-align:center;" height="20">
																		        	<table cellspacing="0" cellpadding="0" align="center" border="0" width="85">
																		        		<tbody>
																		        			<tr>
																		        				<td align="right" width="40">${$l21.left_leave_amount}</td>
																		        				<td width="5">:</td>
																		        				<td align="left" width="40">${$l21.right_leave_amount}</td>
																		        			</tr>
																		        		</tbody>
																		        	</table>
																		        </td>
																		    </tr>
																		</tbody>
																	</table>
																</div>
															</td>
															<elseif condition="empty($l2)"/>
															<td class="Nods" valign="top">
																<div class="Item" style="background-image:url(__PUBLIC__/img/n3.jpg);">
															  		<table cellspacing="0" cellpadding="0" align="center" border="0" width="100%">
															      		<tbody>
															      			<tr>
															        			<td style="text-align:center;" height="8"><br><br><font color="#c2c2c2">未激活<font></font></font></td>
															      			</tr>
															  			</tbody>
															  		</table>
																</div>
															</td>
															<else/>
															<td class="Nods" valign="top">
																<div class="Item" style="background-image:url(__PUBLIC__/img/n3.jpg);">
															  		<table cellspacing="0" cellpadding="0" align="center" border="0" width="100%">
															      		<tbody>
															      			<tr>
															        			<td style="text-align:center;" height="20"><br><br>待注册</td>
															      			</tr>
															  			</tbody>
															  		</table>
																</div>
															</td>
															</if>
															<td class="Nods">&nbsp;</td>
															<if condition="$l22 eq true">
															<td class="Nods" valign="top">
																<div class="Item" style="background-image:url(__PUBLIC__/img/n3.jpg);">
																  	<table cellspacing="0" cellpadding="0" align="center" border="0" width="100%">
																      	<tbody>
																      		<tr>
																        		<td style="text-align:center;" height="8"></td>
																      		</tr>
																      		<tr>
																        	<td style="text-align:center;" height="20">
																        		<a href="/admin/user/organization?user_name={$l22.user_name}">{$l22.user_name}({$l22.name} ${$l22.tree_num})</a>
																        	</td>
																	       	</tr>
																	      	<tr>
																	        	<td style="text-align:center;" height="20">{$l22.true_name}</td>
																	      	</tr>
																	      	<tr>
																	        	<td style="text-align:center;" height="20">
																	        		<table cellspacing="0" cellpadding="0" align="center" border="0" width="85">
																	        			<tbody>
																	        				<tr>
																	        					<td align="right" width="40">${$l22.left_num}</td>
																	        					<td width="5">:</td>
																	        					<td align="left" width="40">${$l22.right_num}</td>
																	        				</tr>
																	        			</tbody>
																	        		</table>
																	        	</td>
																	      	</tr>
																	      	<tr>
																	        	<td style="text-align:center;" height="20">
																	        		<table cellspacing="0" cellpadding="0" align="center" border="0" width="85">
																	        			<tbody>
																	        				<tr>
																	        					<td align="right" width="40">${$l22.left_leave_amount}</td>
																	        					<td width="5">:</td>
																	        					<td align="left" width="40">${$l22.right_leave_amount}</td>
																	        				</tr>
																	        			</tbody>
																	        		</table>
																	        	</td>
																	      	</tr>
																  		</tbody>
																  	</table>
																</div>
															</td>
															<elseif condition="$l21 eq false"/>
															<td class="Nods" valign="top">
																<div class="Item" style="background-image:url(__PUBLIC__/img/n3.jpg);">
															  		<table cellspacing="0" cellpadding="0" align="center" border="0" width="100%">
															      		<tbody>
															      			<tr>
															        			<td style="text-align:center;" height="8"><br><br><font color="#c2c2c2">未激活<font></font></font></td>
															      			</tr>
															  			</tbody>
															  		</table>
																</div>
															</td>
															<else/>
															<td class="Nods" valign="top">
																<div class="Item" style="background-image:url(__PUBLIC__/img/n3.jpg);">
															  		<table cellspacing="0" cellpadding="0" align="center" border="0" width="100%">
															      		<tbody>
															      			<tr>
															        			<td style="text-align:center;" height="20"><br><br>待注册</td>
															      			</tr>
															  			</tbody>
															  		</table>
																</div>
															</td>
															</if>
															<td class="Nods">&nbsp;</td>
															<if condition="$r21 eq true">
															<td class="Nods " valign="top">
																<div class="Item" style="background-image:url(__PUBLIC__/img/n3.jpg);">
															  		<table cellspacing="0" cellpadding="0" align="center" border="0" width="100%">
															      		<tbody>
															      			<tr>
																		        <td style="text-align:center;" height="8"></td>
																		      	</tr>
																		      	<tr>
																			        <td style="text-align:center;" height="20">
																			        	<a href="/admin/user/organization?user_name={$r21.user_name}">{$r21.user_name}({$r21.name} ${$r21.tree_num})</a>
																			        </td>
																		       	</tr>
																		      	<tr>
																		        	<td style="text-align:center;" height="20">{$r21.true_name}</td>
																		      	</tr>
																		      	<tr>
																		        	<td style="text-align:center;" height="20">
																		        		<table cellspacing="0" cellpadding="0" align="center" border="0" width="85">
																		        			<tbody>
																		        				<tr>
																		        					<td align="right" width="40">${$r21.left_num}</td>
																		        					<td width="5">:</td>
																		        					<td align="left" width="40">${$r21.right_num}</td>
																		        				</tr>
																		        			</tbody>
																		        		</table>
																		        	</td>
																		      	</tr>
																		      	<tr>
																		        <td style="text-align:center;" height="20">
																		        	<table cellspacing="0" cellpadding="0" align="center" border="0" width="85">
																		        		<tbody>
																		        			<tr>
																		        				<td align="right" width="40">${$r21.left_leave_amount}</td>
																		        				<td width="5">:</td>
																		        				<td align="left" width="40">${$r21.right_leave_amount}</td>
																		        			</tr>
																		        		</tbody>
																		        	</table>
																		        </td>
																		    </tr>
																		</tbody>
																	</table>
																</div>
															</td>
															<elseif condition="$r2 eq false"/>
															<td class="Nods" valign="top">
																<div class="Item" style="background-image:url(__PUBLIC__/img/n3.jpg);">
															  		<table cellspacing="0" cellpadding="0" align="center" border="0" width="100%">
															      		<tbody>
															      			<tr>
															        			<td style="text-align:center;" height="8"><br><br><font color="#c2c2c2">未激活<font></font></font></td>
															      			</tr>
															  			</tbody>
															  		</table>
																</div>
															</td>
															<else/>
															<td class="Nods" valign="top">
																<div class="Item" style="background-image:url(__PUBLIC__/img/n3.jpg);">
															  		<table cellspacing="0" cellpadding="0" align="center" border="0" width="100%">
															      		<tbody>
															      			<tr>
															        			<td style="text-align:center;" height="20"><br><br>待注册</td>
															      			</tr>
															  			</tbody>
															  		</table>
																</div>
															</td>
															</if>
															<td class="Nods">&nbsp;</td>
															<if condition="$r22 eq true">
															<td class="Nods " valign="top">
																<div class="Item" style="background-image:url(__PUBLIC__/img/n3.jpg);">
															  		<table cellspacing="0" cellpadding="0" align="center" border="0" width="100%">
															      		<tbody>
															      			<tr>
																		        <td style="text-align:center;" height="8"></td>
																		      	</tr>
																		      	<tr>
																			        <td style="text-align:center;" height="20">
																			        	<a href="/admin/user/organization?user_name={$r22.user_name}">{$r22.user_name}({$r22.name} ${$r22.tree_num})</a>
																			        </td>
																		       	</tr>
																		      	<tr>
																		        	<td style="text-align:center;" height="20">{$r22.true_name}</td>
																		      	</tr>
																		      	<tr>
																		        	<td style="text-align:center;" height="20">
																		        		<table cellspacing="0" cellpadding="0" align="center" border="0" width="85">
																		        			<tbody>
																		        				<tr>
																		        					<td align="right" width="40">${$r22.left_num}</td>
																		        					<td width="5">:</td>
																		        					<td align="left" width="40">${$r22.right_num}</td>
																		        				</tr>
																		        			</tbody>
																		        		</table>
																		        	</td>
																		      	</tr>
																		      	<tr>
																		        <td style="text-align:center;" height="20">
																		        	<table cellspacing="0" cellpadding="0" align="center" border="0" width="85">
																		        		<tbody>
																		        			<tr>
																		        				<td align="right" width="40">${$r22.left_leave_amount}</td>
																		        				<td width="5">:</td>
																		        				<td align="left" width="40">${$r22.right_leave_amount}</td>
																		        			</tr>
																		        		</tbody>
																		        	</table>
																		        </td>
																		    </tr>
																		</tbody>
																	</table>
																</div>
															</td>
															<elseif condition="empty($r21)"/>
															<td class="Nods" valign="top">
																<div class="Item" style="background-image:url(__PUBLIC__/img/n3.jpg);">
															  		<table cellspacing="0" cellpadding="0" align="center" border="0" width="100%">
															      		<tbody>
															      			<tr>
															        			<td style="text-align:center;" height="8"><br><br><font color="#c2c2c2">未激活<font></font></font></td>
															      			</tr>
															  			</tbody>
															  		</table>
																</div>
															</td>
															<else/>
															<td class="Nods" valign="top">
																<div class="Item" style="background-image:url(__PUBLIC__/img/n3.jpg);">
															  		<table cellspacing="0" cellpadding="0" align="center" border="0" width="100%">
															      		<tbody>
															      			<tr>
															        			<td style="text-align:center;" height="20"><br><br>待注册</td>
															      			</tr>
															  			</tbody>
															  		</table>
																</div>
															</td>
															</if>
															














															<!-- <td class="Nods" valign="top">
																<div class="Item" style="background-image:url(__PUBLIC__/img/n3.jpg);">
															  		<table cellspacing="0" cellpadding="0" align="center" border="0" width="100%">
															      		<tbody>
															      			<tr>
															        			<td style="text-align:center;" height="20"><br><br>待注册</td>
															      			</tr>
															  			</tbody>
															  		</table>
																</div>
															</td>
															<td class="Nods">&nbsp;</td>
															<td class="Nods" valign="top">
																<div class="Item" style="background-image:url(__PUBLIC__/img/n3.jpg);">
															  		<table cellspacing="0" cellpadding="0" align="center" border="0" width="100%">
															      		<tbody>
															      			<tr>
															        			<td style="text-align:center;" height="8"><br><br><font color="#c2c2c2">未激活<font></font></font></td>
															      			</tr>
															  			</tbody>
															  		</table>
																</div>
															</td> -->
														</tr>
													</tbody>
												</table>
			            					</div>
			            				</td>
			          				</tr>
			      				</tbody>
			      			</table>
			      		</td>
			    	</tr>
		  		</tbody>
	  		</table>
		</div>
	</body>
</block>